home *** CD-ROM | disk | FTP | other *** search
/ MacWorld 1999 July / Macworld (1999-07).dmg / Shareware World / Info / For Developers / Mops 3.4.sea / Mops source / Toolbox classes / QD < prev    next >
MacBinary  |  1998-07-25  |  7.0 KB  |  [TEXT/MSET]

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text

This file was processed as: MacBinary (archive/macBinary).

You can browse this item here: QD

ConfidenceProgramDetectionMatch TypeSupport
10% dexvert MacBinary (archive/macBinary) fallback Supported
10% dexvert Degas High Resolution Picture (PI) (image/degasHiPI) magic Supported
1% dexvert Text File (text/txt) fallback Supported
100% file MacBinary II, inited, Sat Jul 25 23:04:47 1998, modified Sat Jul 25 23:04:47 1998, creator 'MSET', type ASCII, 6643 bytes "QD" , at 0x1a73 381 bytes resource default (weak)
99% file data default
49% TrID Macintosh plain text (MacBinary) default
33% TrID DEGAS hi-res bitmap default (weak)
16% TrID MacBinary 2 default (weak)
0% TrID Sybase iAnywhere database files default (weak)
100% lsar MacBinary default


id metadata
keyvalue
macFileType[TEXT]
macFileCreator[MSET]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 02 51 44 00 00 00 00 | 00 00 00 00 00 00 00 00 |..QD....|........|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 4d 53 45 | 54 01 00 00 00 00 00 00 |.TEXTMSE|T.......|
|00000050| 00 00 00 00 00 19 f3 00 | 00 01 7d b1 e0 4d 4f b1 |........|..}..MO.|
|00000060| e0 4d 4f 00 00 08 00 00 | 00 00 00 00 00 00 00 00 |.MO.....|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 79 37 00 00 |........|....y7..|
|00000080| 5c 20 51 75 69 63 6b 44 | 72 61 77 20 73 75 70 70 |\ QuickD|raw supp|
|00000090| 6f 72 74 2e 0d 0d 20 20 | 20 20 30 09 63 6f 6e 73 |ort... | 0.cons|
|000000a0| 74 61 6e 74 09 53 52 43 | 43 4f 50 59 09 09 5c 20 |tant.SRC|COPY..\ |
|000000b0| 65 71 75 61 74 65 73 20 | 66 6f 72 20 64 72 61 77 |equates |for draw|
|000000c0| 69 6e 67 20 6d 6f 64 65 | 73 0d 20 20 20 20 31 09 |ing mode|s. 1.|
|000000d0| 63 6f 6e 73 74 61 6e 74 | 09 53 52 43 4f 52 0d 20 |constant|.SRCOR. |
|000000e0| 20 20 20 32 09 63 6f 6e | 73 74 61 6e 74 09 53 52 | 2.con|stant.SR|
|000000f0| 43 58 4f 52 0d 0d 73 79 | 73 63 61 6c 6c 09 52 61 |CXOR..sy|scall.Ra|
|00000100| 6e 64 6f 6d 0d 73 79 73 | 63 61 6c 6c 20 48 69 64 |ndom.sys|call Hid|
|00000110| 65 50 65 6e 0d 73 79 73 | 63 61 6c 6c 20 53 68 6f |ePen.sys|call Sho|
|00000120| 77 50 65 6e 0d 73 79 73 | 63 61 6c 6c 20 50 65 6e |wPen.sys|call Pen|
|00000130| 53 69 7a 65 0d 73 79 73 | 63 61 6c 6c 20 50 65 6e |Size.sys|call Pen|
|00000140| 4e 6f 72 6d 61 6c 0d 73 | 79 73 63 61 6c 6c 09 4d |Normal.s|yscall.M|
|00000150| 6f 76 65 54 6f 0d 73 79 | 73 63 61 6c 6c 20 4c 69 |oveTo.sy|scall Li|
|00000160| 6e 65 0d 73 79 73 63 61 | 6c 6c 20 4c 69 6e 65 54 |ne.sysca|ll LineT|
|00000170| 6f 0d 73 79 73 63 61 6c | 6c 20 49 6e 73 65 74 52 |o.syscal|l InsetR|
|00000180| 65 63 74 0d 73 79 73 63 | 61 6c 6c 20 46 72 61 6d |ect.sysc|all Fram|
|00000190| 65 52 65 63 74 0d 73 79 | 73 63 61 6c 6c 20 45 72 |eRect.sy|scall Er|
|000001a0| 61 73 65 52 65 63 74 0d | 73 79 73 63 61 6c 6c 20 |aseRect.|syscall |
|000001b0| 46 69 6c 6c 52 65 63 74 | 0d 73 79 73 63 61 6c 6c |FillRect|.syscall|
|000001c0| 20 49 6e 76 65 72 74 52 | 65 63 74 0d 73 79 73 63 | InvertR|ect.sysc|
|000001d0| 61 6c 6c 20 50 61 69 6e | 74 52 65 63 74 0d 73 79 |all Pain|tRect.sy|
|000001e0| 73 63 61 6c 6c 20 43 6c | 69 70 52 65 63 74 0d 73 |scall Cl|ipRect.s|
|000001f0| 79 73 63 61 6c 6c 20 53 | 63 72 6f 6c 6c 52 65 63 |yscall S|crollRec|
|00000200| 74 0d 73 79 73 63 61 6c | 6c 20 49 6e 76 61 6c 52 |t.syscal|l InvalR|
|00000210| 65 63 74 0d 73 79 73 63 | 61 6c 6c 20 49 6e 76 61 |ect.sysc|all Inva|
|00000220| 6c 52 67 6e 0d 73 79 73 | 63 61 6c 6c 20 53 65 74 |lRgn.sys|call Set|
|00000230| 50 6f 72 74 0d 73 79 73 | 63 61 6c 6c 20 47 65 74 |Port.sys|call Get|
|00000240| 50 6f 72 74 0d 73 79 73 | 63 61 6c 6c 20 47 65 74 |Port.sys|call Get|
|00000250| 43 75 72 73 6f 72 0d 73 | 79 73 63 61 6c 6c 20 53 |Cursor.s|yscall S|
|00000260| 65 74 43 75 72 73 6f 72 | 0d 73 79 73 63 61 6c 6c |etCursor|.syscall|
|00000270| 20 49 6e 69 74 43 75 72 | 73 6f 72 0d 73 79 73 63 | InitCur|sor.sysc|
|00000280| 61 6c 6c 20 46 72 61 6d | 65 52 6f 75 6e 64 52 65 |all Fram|eRoundRe|
|00000290| 63 74 0d 73 79 73 63 61 | 6c 6c 09 4d 6f 76 65 0d |ct.sysca|ll.Move.|
|000002a0| 0d 5c 20 54 68 65 20 66 | 6f 6c 6c 6f 77 69 6e 67 |.\ The f|ollowing|
|000002b0| 20 61 72 65 20 75 73 65 | 64 20 62 79 20 41 6c 65 | are use|d by Ale|
|000002c0| 72 74 20 77 68 69 63 68 | 20 67 65 74 73 20 6c 6f |rt which| gets lo|
|000002d0| 61 64 65 64 20 69 6e 20 | 61 20 63 6f 75 70 6c 65 |aded in |a couple|
|000002e0| 20 6f 66 0d 5c 20 20 6d | 6f 64 75 6c 65 73 20 2d | of.\ m|odules -|
|000002f0| 20 62 75 74 20 77 65 20 | 63 61 6e 27 74 20 61 6c | but we |can't al|
|00000300| 6c 6f 77 20 73 79 73 63 | 61 6c 6c 73 20 69 6e 20 |low sysc|alls in |
|00000310| 6d 6f 64 75 6c 65 73 2c | 20 73 6f 20 77 65 20 70 |modules,| so we p|
|00000320| 75 74 20 74 68 65 6d 0d | 5c 20 20 68 65 72 65 2e |ut them.|\ here.|
|00000330| 0d 0d 73 79 73 63 61 6c | 6c 20 53 74 6f 70 41 6c |..syscal|l StopAl|
|00000340| 65 72 74 0d 73 79 73 63 | 61 6c 6c 20 4e 6f 74 65 |ert.sysc|all Note|
|00000350| 41 6c 65 72 74 0d 73 79 | 73 63 61 6c 6c 20 43 61 |Alert.sy|scall Ca|
|00000360| 75 74 69 6f 6e 41 6c 65 | 72 74 0d 73 79 73 63 61 |utionAle|rt.sysca|
|00000370| 6c 6c 20 41 6c 65 72 74 | 0d 0d 5c 20 57 65 20 63 |ll Alert|..\ We c|
|00000380| 61 6e 27 74 20 6c 65 61 | 76 65 20 41 6c 65 72 74 |an't lea|ve Alert|
|00000390| 20 69 6e 20 74 68 65 20 | 64 69 63 20 61 73 20 61 | in the |dic as a|
|000003a0| 20 73 79 73 63 61 6c 6c | 2c 20 73 69 6e 63 65 20 | syscall|, since |
|000003b0| 69 74 27 73 20 74 68 65 | 20 6e 61 6d 65 20 6f 66 |it's the| name of|
|000003c0| 0d 5c 20 20 61 20 63 6c | 61 73 73 2e 20 20 53 6f |.\ a cl|ass. So|
|000003d0| 20 77 65 20 68 61 76 65 | 20 74 6f 20 72 65 6e 61 | we have| to rena|
|000003e0| 6d 65 20 69 74 3a 0d 0d | 26 20 5a 20 20 27 20 41 |me it:..|& Z ' A|
|000003f0| 6c 65 72 74 20 3e 6e 61 | 6d 65 20 31 2b 20 63 21 |lert >na|me 1+ c!|
|00000400| 09 09 5c 20 4d 61 6b 65 | 20 69 74 20 5a 6c 65 72 |..\ Make| it Zler|
|00000410| 74 21 0d 0d 5c 20 4e 65 | 65 64 65 64 20 62 79 20 |t!..\ Ne|eded by |
|00000420| 56 69 65 77 3a 0d 0d 73 | 79 73 63 61 6c 6c 20 50 |View:..s|yscall P|
|00000430| 74 49 6e 52 65 63 74 0d | 73 79 73 63 61 6c 6c 20 |tInRect.|syscall |
|00000440| 53 65 74 4f 72 69 67 69 | 6e 0d 0d 0d 5c 20 4e 65 |SetOrigi|n...\ Ne|
|00000450| 65 64 65 64 20 62 79 20 | 43 74 6c 3a 0d 0d 73 79 |eded by |Ctl:..sy|
|00000460| 73 63 61 6c 6c 20 46 69 | 6e 64 43 6f 6e 74 72 6f |scall Fi|ndContro|
|00000470| 6c 0d 73 79 73 63 61 6c | 6c 20 54 72 61 63 6b 43 |l.syscal|l TrackC|
|00000480| 6f 6e 74 72 6f 6c 0d 73 | 79 73 63 61 6c 6c 20 53 |ontrol.s|yscall S|
|00000490| 74 72 69 6e 67 57 69 64 | 74 68 0d 73 79 73 63 61 |tringWid|th.sysca|
|000004a0| 6c 6c 20 47 65 74 43 6f | 6e 74 72 6f 6c 56 61 6c |ll GetCo|ntrolVal|
|000004b0| 75 65 0d 73 79 73 63 61 | 6c 6c 20 53 65 74 43 6f |ue.sysca|ll SetCo|
|000004c0| 6e 74 72 6f 6c 56 61 6c | 75 65 0d 73 79 73 63 61 |ntrolVal|ue.sysca|
|000004d0| 6c 6c 20 48 69 64 65 43 | 6f 6e 74 72 6f 6c 0d 73 |ll HideC|ontrol.s|
|000004e0| 79 73 63 61 6c 6c 20 53 | 68 6f 77 43 6f 6e 74 72 |yscall S|howContr|
|000004f0| 6f 6c 0d 73 79 73 63 61 | 6c 6c 20 4e 65 77 43 6f |ol.sysca|ll NewCo|
|00000500| 6e 74 72 6f 6c 0d 73 79 | 73 63 61 6c 6c 20 47 65 |ntrol.sy|scall Ge|
|00000510| 74 4e 65 77 43 6f 6e 74 | 72 6f 6c 0d 73 79 73 63 |tNewCont|rol.sysc|
|00000520| 61 6c 6c 20 44 72 61 77 | 31 43 6f 6e 74 72 6f 6c |all Draw|1Control|
|00000530| 0d 73 79 73 63 61 6c 6c | 20 48 69 6c 69 74 65 43 |.syscall| HiliteC|
|00000540| 6f 6e 74 72 6f 6c 0d 73 | 79 73 63 61 6c 6c 20 53 |ontrol.s|yscall S|
|00000550| 69 7a 65 43 6f 6e 74 72 | 6f 6c 0d 73 79 73 63 61 |izeContr|ol.sysca|
|00000560| 6c 6c 20 4d 6f 76 65 43 | 6f 6e 74 72 6f 6c 0d 73 |ll MoveC|ontrol.s|
|00000570| 79 73 63 61 6c 6c 20 53 | 65 74 43 6f 6e 74 72 6f |yscall S|etContro|
|00000580| 6c 54 69 74 6c 65 0d 73 | 79 73 63 61 6c 6c 20 44 |lTitle.s|yscall D|
|00000590| 69 73 70 6f 73 65 43 6f | 6e 74 72 6f 6c 0d 73 79 |isposeCo|ntrol.sy|
|000005a0| 73 63 61 6c 6c 20 53 65 | 74 43 6f 6e 74 72 6f 6c |scall Se|tControl|
|000005b0| 4d 61 78 69 6d 75 6d 0d | 73 79 73 63 61 6c 6c 20 |Maximum.|syscall |
|000005c0| 53 65 74 43 6f 6e 74 72 | 6f 6c 4d 69 6e 69 6d 75 |SetContr|olMinimu|
|000005d0| 6d 0d 73 79 73 63 61 6c | 6c 20 56 61 6c 69 64 52 |m.syscal|l ValidR|
|000005e0| 65 63 74 0d 0d 5c 20 4e | 65 65 64 65 64 20 62 79 |ect..\ N|eeded by|
|000005f0| 20 54 65 78 74 45 64 69 | 74 3a 0d 0d 73 79 73 63 | TextEdi|t:..sysc|
|00000600| 61 6c 6c 20 5a 65 72 6f | 53 63 72 61 70 0d 73 79 |all Zero|Scrap.sy|
|00000610| 73 63 61 6c 6c 20 50 75 | 74 53 63 72 61 70 0d 73 |scall Pu|tScrap.s|
|00000620| 79 73 63 61 6c 6c 20 47 | 65 74 53 63 72 61 70 0d |yscall G|etScrap.|
|00000630| 73 79 73 63 61 6c 6c 20 | 54 45 4e 65 77 0d 73 79 |syscall |TENew.sy|
|00000640| 73 63 61 6c 6c 20 54 45 | 53 74 79 6c 65 4e 65 77 |scall TE|StyleNew|
|00000650| 0d 73 79 73 63 61 6c 6c | 20 54 45 44 69 73 70 6f |.syscall| TEDispo|
|00000660| 73 65 0d 73 79 73 63 61 | 6c 6c 20 54 65 78 74 46 |se.sysca|ll TextF|
|00000670| 6f 6e 74 0d 73 79 73 63 | 61 6c 6c 20 54 65 78 74 |ont.sysc|all Text|
|00000680| 53 69 7a 65 0d 73 79 73 | 63 61 6c 6c 09 54 45 53 |Size.sys|call.TES|
|00000690| 65 74 53 74 79 6c 65 0d | 0d 50 50 43 3f 20 5b 69 |etStyle.|.PPC? [i|
|000006a0| 66 5d 0d 73 79 73 63 61 | 6c 6c 20 54 45 47 65 74 |f].sysca|ll TEGet|
|000006b0| 53 63 72 61 70 4c 65 6e | 67 74 68 0d 5b 74 68 65 |ScrapLen|gth.[the|
|000006c0| 6e 5d 0d 0d 73 79 73 63 | 61 6c 6c 09 54 45 53 63 |n]..sysc|all.TESc|
|000006d0| 72 61 70 48 61 6e 64 6c | 65 0d 73 79 73 63 61 6c |rapHandl|e.syscal|
|000006e0| 6c 09 54 45 46 65 61 74 | 75 72 65 46 6c 61 67 0d |l.TEFeat|ureFlag.|
|000006f0| 73 79 73 63 61 6c 6c 09 | 54 45 43 75 74 0d 73 79 |syscall.|TECut.sy|
|00000700| 73 63 61 6c 6c 09 54 45 | 43 6f 70 79 0d 73 79 73 |scall.TE|Copy.sys|
|00000710| 63 61 6c 6c 09 54 45 50 | 61 73 74 65 0d 73 79 73 |call.TEP|aste.sys|
|00000720| 63 61 6c 6c 09 54 45 44 | 65 6c 65 74 65 0d 73 79 |call.TED|elete.sy|
|00000730| 73 63 61 6c 6c 09 54 45 | 55 70 64 61 74 65 0d 73 |scall.TE|Update.s|
|00000740| 79 73 63 61 6c 6c 09 54 | 45 53 63 72 6f 6c 6c 0d |yscall.T|EScroll.|
|00000750| 73 79 73 63 61 6c 6c 09 | 54 45 47 65 74 54 65 78 |syscall.|TEGetTex|
|00000760| 74 0d 73 79 73 63 61 6c | 6c 09 54 45 53 65 74 54 |t.syscal|l.TESetT|
|00000770| 65 78 74 0d 73 79 73 63 | 61 6c 6c 09 54 45 49 6e |ext.sysc|all.TEIn|
|00000780| 73 65 72 74 0d 73 79 73 | 63 61 6c 6c 09 54 45 41 |sert.sys|call.TEA|
|00000790| 63 74 69 76 61 74 65 0d | 73 79 73 63 61 6c 6c 09 |ctivate.|syscall.|
|000007a0| 54 45 44 65 61 63 74 69 | 76 61 74 65 0d 73 79 73 |TEDeacti|vate.sys|
|000007b0| 63 61 6c 6c 09 54 45 43 | 6c 69 63 6b 0d 73 79 73 |call.TEC|lick.sys|
|000007c0| 63 61 6c 6c 09 54 45 53 | 65 74 53 65 6c 65 63 74 |call.TES|etSelect|
|000007d0| 0d 73 79 73 63 61 6c 6c | 09 54 45 4b 65 79 0d 73 |.syscall|.TEKey.s|
|000007e0| 79 73 63 61 6c 6c 09 54 | 45 47 65 74 50 6f 69 6e |yscall.T|EGetPoin|
|000007f0| 74 0d 73 79 73 63 61 6c | 6c 09 54 45 49 64 6c 65 |t.syscal|l.TEIdle|
|00000800| 0d 73 79 73 63 61 6c 6c | 20 54 45 43 61 6c 54 65 |.syscall| TECalTe|
|00000810| 78 74 0d 0d 50 50 43 3f | 20 5b 69 66 5d 0d 0d 73 |xt..PPC?| [if]..s|
|00000820| 79 73 63 61 6c 6c 20 54 | 45 53 65 74 43 6c 69 63 |yscall T|ESetClic|
|00000830| 6b 4c 6f 6f 70 0d 0d 28 | 2a 0d 5c 20 4e 65 65 64 |kLoop..(|*.\ Need|
|00000840| 65 64 20 62 79 20 7a 46 | 45 4d 6f 64 3a 0d 73 79 |ed by zF|EMod:.sy|
|00000850| 73 63 61 6c 6c 20 4f 70 | 65 6e 52 46 0d 73 79 73 |scall Op|enRF.sys|
|00000860| 63 61 6c 6c 20 46 53 43 | 6c 6f 73 65 0d 73 79 73 |call FSC|lose.sys|
|00000870| 63 61 6c 6c 20 48 43 72 | 65 61 74 65 52 65 73 46 |call HCr|eateResF|
|00000880| 69 6c 65 0d 73 79 73 63 | 61 6c 6c 20 43 6c 6f 73 |ile.sysc|all Clos|
|00000890| 65 52 65 73 46 69 6c 65 | 0d 73 79 73 63 61 6c 6c |eResFile|.syscall|
|000008a0| 20 43 75 72 52 65 73 46 | 69 6c 65 0d 73 79 73 63 | CurResF|ile.sysc|
|000008b0| 61 6c 6c 20 48 4f 70 65 | 6e 52 65 73 46 69 6c 65 |all HOpe|nResFile|
|000008c0| 0d 2a 29 0d 5b 74 68 65 | 6e 5d 0d 0d 0d 5c 20 57 |.*).[the|n]...\ W|
|000008d0| 65 20 63 61 6e 27 74 20 | 6c 65 61 76 65 20 4d 6f |e can't |leave Mo|
|000008e0| 76 65 20 69 6e 20 74 68 | 65 20 64 69 63 20 61 73 |ve in th|e dic as|
|000008f0| 20 61 20 73 79 73 63 61 | 6c 6c 2c 20 73 69 6e 63 | a sysca|ll, sinc|
|00000900| 65 20 69 74 20 68 61 73 | 20 61 6e 6f 74 68 65 72 |e it has| another|
|00000910| 20 6d 65 61 6e 69 6e 67 | 0d 5c 20 20 69 6e 20 4d | meaning|.\ in M|
|00000920| 6f 70 73 20 28 61 6e 64 | 20 41 4e 53 49 20 46 6f |ops (and| ANSI Fo|
|00000930| 72 74 68 29 2e 20 20 53 | 6f 20 77 65 20 68 61 76 |rth). S|o we hav|
|00000940| 65 20 74 6f 20 72 65 6e | 61 6d 65 20 69 74 3a 0d |e to ren|ame it:.|
|00000950| 0d 3a 20 4d 4f 56 45 50 | 45 4e 20 20 28 20 78 20 |.: MOVEP|EN ( x |
|00000960| 79 20 2d 2d 20 29 20 20 | 4d 6f 76 65 20 20 3b 0d |y -- ) |Move ;.|
|00000970| 0d 26 20 5a 20 20 27 20 | 4d 6f 76 65 20 3e 6e 61 |.& Z ' |Move >na|
|00000980| 6d 65 20 31 2b 20 63 21 | 09 09 5c 20 4d 61 6b 65 |me 1+ c!|..\ Make|
|00000990| 20 69 74 20 5a 6f 76 65 | 21 21 0d 0d 0d 5c 20 52 | it Zove|!!...\ R|
|000009a0| 61 6e 64 6f 6d 20 2d 20 | 72 65 74 75 72 6e 73 20 |andom - |returns |
|000009b0| 61 20 72 61 6e 64 6f 6d | 20 6e 75 6d 62 65 72 20 |a random| number |
|000009c0| 30 20 2d 20 4e 2e 20 4e | 20 69 73 20 6c 69 6d 69 |0 - N. N| is limi|
|000009d0| 74 65 64 20 74 6f 20 61 | 6e 20 49 6e 74 0d 5c 20 |ted to a|n Int.\ |
|000009e0| 20 76 61 6c 75 65 2e 20 | 4c 61 72 67 65 72 20 74 | value. |Larger t|
|000009f0| 68 61 6e 20 74 68 61 74 | 20 6d 65 61 6e 73 20 74 |han that| means t|
|00000a00| 68 61 74 20 6e 75 6d 62 | 65 72 73 20 77 69 6c 6c |hat numb|ers will|
|00000a10| 20 62 65 20 70 6f 6f 72 | 6c 79 20 64 69 73 74 72 | be poor|ly distr|
|00000a20| 69 62 75 74 65 64 2e 0d | 0d 3a 20 52 41 4e 44 4f |ibuted..|.: RANDO|
|00000a30| 4d 09 5c 20 28 20 6e 20 | 2d 2d 20 72 61 6e 64 2a |M.\ ( n |-- rand*|
|00000a40| 4e 20 29 0d 09 52 61 6e | 64 6f 6d 20 20 73 77 61 |N )..Ran|dom swa|
|00000a50| 70 20 6d 6f 64 20 20 3b | 0d 0d 28 2a 20 20 6e 6f |p mod ;|..(* no|
|00000a60| 77 20 69 6e 20 70 6e 75 | 63 31 0d 50 50 43 3f 0d |w in pnu|c1.PPC?.|
|00000a70| 5b 49 46 5d 09 09 5c 20 | 77 65 20 73 74 69 6c 6c |[IF]..\ |we still|
|00000a80| 20 6e 65 65 64 20 50 41 | 43 4b 20 61 6e 64 20 55 | need PA|CK and U|
|00000a90| 4e 50 41 43 4b 20 6f 6e | 20 74 68 65 20 50 50 43 |NPACK on| the PPC|
|00000aa0| 2c 20 73 69 6e 63 65 20 | 74 68 65 20 54 6f 6f 6c |, since |the Tool|
|00000ab0| 62 6f 78 0d 09 09 09 5c | 20 20 74 61 6b 65 73 20 |box....\| takes |
|00000ac0| 61 6e 64 20 72 65 74 75 | 72 6e 73 20 61 20 70 61 |and retu|rns a pa|
|00000ad0| 63 6b 65 64 20 50 6f 69 | 6e 74 20 69 6e 20 61 20 |cked Poi|nt in a |
|00000ae0| 63 6f 75 70 6c 65 20 6f | 66 20 70 6c 61 63 65 73 |couple o|f places|
|00000af0| 2e 0d 09 09 09 5c 20 20 | 4e 6f 74 65 20 74 68 65 |.....\ |Note the|
|00000b00| 73 65 20 6e 75 6d 62 65 | 72 73 20 61 72 65 20 73 |se numbe|rs are s|
|00000b10| 69 67 6e 65 64 2e 0d 3a | 20 50 41 43 4b 20 20 28 |igned..:| PACK (|
|00000b20| 20 6e 31 20 6e 32 20 2d | 2d 20 6e 32 3a 6e 31 20 | n1 n2 -|- n2:n1 |
|00000b30| 29 0d 09 31 36 20 3c 3c | 20 20 73 77 61 70 20 20 |)..16 <<| swap |
|00000b40| 24 20 66 66 66 66 20 61 | 6e 64 20 20 6f 72 20 20 |$ ffff a|nd or |
|00000b50| 3b 0d 0d 3a 20 55 4e 50 | 41 43 4b 20 20 28 20 6e |;..: UNP|ACK ( n|
|00000b60| 32 3a 6e 31 20 2d 2d 20 | 6e 31 20 6e 32 20 29 0d |2:n1 -- |n1 n2 ).|
|00000b70| 09 64 75 70 20 20 31 36 | 20 3c 3c 20 31 36 20 61 |.dup 16| << 16 a|
|00000b80| 3e 3e 20 20 73 77 61 70 | 20 20 31 36 20 61 3e 3e |>> swap| 16 a>>|
|00000b90| 20 20 3b 0d 0d 5b 54 48 | 45 4e 5d 0d 2a 29 0d 0d | ;..[TH|EN].*)..|
|00000ba0| 3a 20 44 45 4c 09 5c 20 | 44 72 61 77 73 20 61 20 |: DEL.\ |Draws a |
|00000bb0| 64 6f 77 6e 77 61 72 64 | 2d 70 6f 69 6e 74 69 6e |downward|-pointin|
|00000bc0| 67 20 61 72 72 6f 77 20 | 74 6f 20 74 68 65 20 72 |g arrow |to the r|
|00000bd0| 69 67 68 74 20 6f 66 20 | 61 6e 64 20 0d 09 09 5c |ight of |and ...\|
|00000be0| 20 62 65 6c 6f 77 20 74 | 68 65 20 63 75 72 72 65 | below t|he curre|
|00000bf0| 6e 74 20 70 65 6e 20 70 | 6f 73 69 74 69 6f 6e 2e |nt pen p|osition.|
|00000c00| 0d 09 31 31 20 30 20 6c | 69 6e 65 09 2d 31 20 31 |..11 0 l|ine.-1 1|
|00000c10| 20 6d 6f 76 65 50 65 6e | 0d 09 2d 39 20 30 20 6c | movePen|..-9 0 l|
|00000c20| 69 6e 65 09 20 31 20 31 | 20 6d 6f 76 65 50 65 6e |ine. 1 1| movePen|
|00000c30| 0d 09 20 37 20 30 20 6c | 69 6e 65 09 2d 31 20 31 |.. 7 0 l|ine.-1 1|
|00000c40| 20 6d 6f 76 65 50 65 6e | 0d 09 2d 35 20 30 20 6c | movePen|..-5 0 l|
|00000c50| 69 6e 65 09 20 31 20 31 | 20 6d 6f 76 65 50 65 6e |ine. 1 1| movePen|
|00000c60| 0d 09 20 33 20 30 20 6c | 69 6e 65 09 2d 31 20 31 |.. 3 0 l|ine.-1 1|
|00000c70| 20 6d 6f 76 65 50 65 6e | 0d 09 2d 31 20 30 20 6c | movePen|..-1 0 l|
|00000c80| 69 6e 65 20 20 3b 0d 0d | 0d 5c 09 09 3d 3d 3d 3d |ine ;..|.\..====|
|00000c90| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 20 50 61 74 74 65 72 |========|= Patter|
|00000ca0| 6e 73 20 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |ns =====|========|
|00000cb0| 3d 3d 0d 0d 0d 3a 63 6c | 61 73 73 09 50 41 54 54 |==...:cl|ass.PATT|
|00000cc0| 45 52 4e 20 20 73 75 70 | 65 72 7b 20 72 65 73 6f |ERN sup|er{ reso|
|00000cd0| 75 72 63 65 20 7d 0d 0d | 72 65 63 6f 72 64 20 7b |urce }..|record {|
|00000ce0| 20 20 70 74 72 09 43 55 | 52 52 20 20 7d 0d 0d 3a | ptr.CU|RR }..:|
|00000cf0| 6d 20 47 45 54 4e 45 57 | 3a 09 5c 20 28 20 70 61 |m GETNEW|:.\ ( pa|
|00000d00| 74 23 20 2d 2d 20 70 74 | 72 20 29 0d 09 27 74 79 |t# -- pt|r )..'ty|
|00000d10| 70 65 20 50 41 54 23 20 | 20 73 77 61 70 20 20 73 |pe PAT# | swap s|
|00000d20| 65 74 3a 20 73 65 6c 66 | 20 20 67 65 74 6e 65 77 |et: self| getnew|
|00000d30| 3a 20 73 75 70 65 72 0d | 09 33 20 3c 3c 20 20 70 |: super.|.3 << p|
|00000d40| 74 72 3a 20 73 65 6c 66 | 20 20 32 2b 20 20 2b 20 |tr: self| 2+ + |
|00000d50| 20 70 75 74 3a 20 63 75 | 72 72 20 20 3b 6d 0d 0d | put: cu|rr ;m..|
|00000d60| 3a 6d 20 47 45 54 3a 09 | 09 67 65 74 3a 20 63 75 |:m GET:.|.get: cu|
|00000d70| 72 72 20 20 3b 6d 0d 0d | 3b 63 6c 61 73 73 0d 0d |rr ;m..|;class..|
|00000d80| 0d 6f 62 6a 50 74 72 09 | 54 4d 50 50 54 4e 09 20 |.objPtr.|TMPPTN. |
|00000d90| 63 6c 61 73 73 5f 69 73 | 20 20 70 61 74 74 65 72 |class_is| patter|
|00000da0| 6e 0d 0d 70 61 74 74 65 | 72 6e 09 53 59 53 50 41 |n..patte|rn.SYSPA|
|00000db0| 54 54 4e 0d 0d 3a 20 53 | 59 53 50 41 54 09 5c 20 |TTN..: S|YSPAT.\ |
|00000dc0| 28 20 70 61 74 23 20 2d | 2d 20 5e 70 61 74 2d 6f |( pat# -|- ^pat-o|
|00000dd0| 62 6a 20 29 0d 09 30 20 | 67 65 74 6e 65 77 3a 20 |bj )..0 |getnew: |
|00000de0| 73 79 73 50 61 74 74 6e | 0d 09 73 79 73 50 61 74 |sysPattn|..sysPat|
|00000df0| 74 6e 20 20 3b 0d 0d 0d | 0d 3a 63 6c 61 73 73 20 |tn ;...|.:class |
|00000e00| 20 50 4f 49 4e 54 09 73 | 75 70 65 72 7b 20 6f 62 | POINT.s|uper{ ob|
|00000e10| 6a 65 63 74 20 7d 0d 72 | 65 63 6f 72 64 0d 7b 09 |ject }.r|ecord.{.|
|00000e20| 69 6e 74 09 59 09 09 5c | 20 56 65 72 74 69 63 61 |int.Y..\| Vertica|
|00000e30| 6c 20 63 6f 6f 72 64 69 | 6e 61 74 65 0d 09 69 6e |l coordi|nate..in|
|00000e40| 74 09 58 09 09 5c 20 48 | 6f 72 69 7a 6f 6e 74 61 |t.X..\ H|orizonta|
|00000e50| 6c 20 20 63 6f 6f 72 64 | 69 6e 61 74 65 0d 7d 0d |l coord|inate.}.|
|00000e60| 0d 3a 6d 20 47 45 54 58 | 3a 09 67 65 74 3a 20 78 |.:m GETX|:.get: x|
|00000e70| 20 20 3b 6d 0d 3a 6d 20 | 47 45 54 59 3a 09 67 65 | ;m.:m |GETY:.ge|
|00000e80| 74 3a 20 79 20 20 3b 6d | 0d 0d 3a 6d 20 50 55 54 |t: y ;m|..:m PUT|
|00000e90| 58 3a 09 70 75 74 3a 20 | 78 20 20 3b 6d 0d 3a 6d |X:.put: |x ;m.:m|
|00000ea0| 20 50 55 54 59 3a 09 70 | 75 74 3a 20 79 20 20 3b | PUTY:.p|ut: y ;|
|00000eb0| 6d 0d 0d 3a 6d 20 53 48 | 49 46 54 58 3a 09 2b 3a |m..:m SH|IFTX:.+:|
|00000ec0| 20 78 20 20 3b 6d 0d 3a | 6d 20 53 48 49 46 54 59 | x ;m.:|m SHIFTY|
|00000ed0| 3a 09 2b 3a 20 79 20 20 | 3b 6d 0d 3a 6d 20 53 48 |:.+: y |;m.:m SH|
|00000ee0| 49 46 54 3a 09 2b 3a 20 | 79 20 20 2b 3a 20 78 20 |IFT:.+: |y +: x |
|00000ef0| 20 3b 6d 0d 0d 3a 6d 20 | 47 45 54 3a 09 09 67 65 | ;m..:m |GET:..ge|
|00000f00| 74 3a 20 58 20 20 67 65 | 74 3a 20 59 20 20 20 3b |t: X ge|t: Y ;|
|00000f10| 6d 0d 3a 6d 20 50 55 54 | 3a 09 09 70 75 74 3a 20 |m.:m PUT|:..put: |
|00000f20| 59 20 20 70 75 74 3a 20 | 58 20 20 20 3b 6d 0d 0d |Y put: |X ;m..|
|00000f30| 3a 6d 20 49 4e 54 3a 09 | 09 69 6e 6c 69 6e 65 7b |:m INT:.|.inline{|
|00000f40| 20 5e 62 61 73 65 20 40 | 7d 20 20 3b 6d 0d 0d 3a | ^base @|} ;m..:|
|00000f50| 6d 20 2d 3e 3a 09 09 69 | 6e 6c 69 6e 65 7b 20 40 |m ->:..i|nline{ @|
|00000f60| 20 5e 62 61 73 65 20 21 | 7d 20 20 3b 6d 0d 0d 3b | ^base !|} ;m..;|
|00000f70| 63 6c 61 73 73 0d 0d 0d | 3a 63 6c 61 73 73 20 20 |class...|:class |
|00000f80| 52 45 43 54 20 20 73 75 | 70 65 72 7b 20 6f 62 6a |RECT su|per{ obj|
|00000f90| 65 63 74 20 7d 0d 0d 72 | 65 63 6f 72 64 0d 7b 09 |ect }..r|ecord.{.|
|00000fa0| 70 6f 69 6e 74 09 54 4f | 50 4c 0d 09 70 6f 69 6e |point.TO|PL..poin|
|00000fb0| 74 09 42 4f 54 52 0d 7d | 0d 0d 3a 6d 20 47 45 54 |t.BOTR.}|..:m GET|
|00000fc0| 3a 09 09 67 65 74 3a 20 | 74 6f 70 6c 20 20 20 67 |:..get: |topl g|
|00000fd0| 65 74 3a 20 62 6f 74 72 | 20 20 3b 6d 09 28 20 2d |et: botr| ;m.( -|
|00000fe0| 2d 20 6c 20 74 20 72 20 | 62 20 29 0d 3a 6d 20 50 |- l t r |b ).:m P|
|00000ff0| 55 54 3a 09 09 70 75 74 | 3a 20 62 6f 74 72 20 20 |UT:..put|: botr |
|00001000| 20 70 75 74 3a 20 74 6f | 70 6c 20 20 3b 6d 09 28 | put: to|pl ;m.(|
|00001010| 20 6c 20 74 20 72 20 62 | 20 2d 2d 20 29 0d 0d 3a | l t r b| -- )..:|
|00001020| 6d 20 47 45 54 54 4f 50 | 3a 09 67 65 74 3a 20 20 |m GETTOP|:.get: |
|00001030| 74 6f 70 6c 20 20 3b 6d | 09 09 28 20 2d 2d 20 6c |topl ;m|..( -- l|
|00001040| 20 74 20 29 0d 3a 6d 20 | 54 4f 50 49 4e 54 3a 09 | t ).:m |TOPINT:.|
|00001050| 69 6e 74 3a 20 20 74 6f | 70 6c 20 20 3b 6d 0d 3a |int: to|pl ;m.:|
|00001060| 6d 20 47 45 54 54 4f 50 | 58 3a 09 67 65 74 78 3a |m GETTOP|X:.getx:|
|00001070| 20 74 6f 70 6c 20 20 3b | 6d 0d 3a 6d 20 47 45 54 | topl ;|m.:m GET|
|00001080| 54 4f 50 59 3a 09 67 65 | 74 79 3a 20 74 6f 70 6c |TOPY:.ge|ty: topl|
|00001090| 20 20 3b 6d 0d 3a 6d 20 | 50 55 54 54 4f 50 3a 09 | ;m.:m |PUTTOP:.|
|000010a0| 70 75 74 3a 20 20 74 6f | 70 6c 20 20 3b 6d 0d 3a |put: to|pl ;m.:|
|000010b0| 6d 20 50 55 54 54 4f 50 | 58 3a 09 70 75 74 78 3a |m PUTTOP|X:.putx:|
|000010c0| 20 74 6f 70 6c 20 20 3b | 6d 0d 3a 6d 20 50 55 54 | topl ;|m.:m PUT|
|000010d0| 54 4f 50 59 3a 09 70 75 | 74 79 3a 20 74 6f 70 6c |TOPY:.pu|ty: topl|
|000010e0| 20 20 3b 6d 0d 0d 3a 6d | 20 47 45 54 42 4f 54 3a | ;m..:m| GETBOT:|
|000010f0| 09 67 65 74 3a 20 20 62 | 6f 74 72 20 20 3b 6d 0d |.get: b|otr ;m.|
|00001100| 3a 6d 20 42 4f 54 49 4e | 54 3a 09 69 6e 74 3a 20 |:m BOTIN|T:.int: |
|00001110| 20 62 6f 74 72 20 20 3b | 6d 0d 3a 6d 20 47 45 54 | botr ;|m.:m GET|
|00001120| 42 4f 54 58 3a 09 67 65 | 74 78 3a 20 62 6f 74 72 |BOTX:.ge|tx: botr|
|00001130| 20 20 3b 6d 0d 3a 6d 20 | 47 45 54 42 4f 54 59 3a | ;m.:m |GETBOTY:|
|00001140| 09 67 65 74 79 3a 20 62 | 6f 74 72 20 20 3b 6d 0d |.gety: b|otr ;m.|
|00001150| 3a 6d 20 50 55 54 42 4f | 54 3a 09 70 75 74 3a 20 |:m PUTBO|T:.put: |
|00001160| 20 62 6f 74 72 20 20 3b | 6d 0d 3a 6d 20 50 55 54 | botr ;|m.:m PUT|
|00001170| 42 4f 54 58 3a 09 70 75 | 74 78 3a 20 62 6f 74 72 |BOTX:.pu|tx: botr|
|00001180| 20 20 3b 6d 0d 3a 6d 20 | 50 55 54 42 4f 54 59 3a | ;m.:m |PUTBOTY:|
|00001190| 09 70 75 74 79 3a 20 62 | 6f 74 72 20 20 3b 6d 0d |.puty: b|otr ;m.|
|000011a0| 0d 3a 6d 20 53 49 5a 45 | 3a 09 09 5c 20 28 20 2d |.:m SIZE|:..\ ( -|
|000011b0| 2d 20 77 69 64 74 68 20 | 68 65 69 67 68 74 20 29 |- width |height )|
|000011c0| 20 20 43 61 6c 63 75 6c | 61 74 65 73 20 72 65 63 | Calcul|ates rec|
|000011d0| 74 27 73 20 73 69 7a 65 | 0d 09 67 65 74 78 3a 20 |t's size|..getx: |
|000011e0| 62 6f 74 72 20 20 67 65 | 74 78 3a 20 74 6f 70 6c |botr ge|tx: topl|
|000011f0| 20 20 2d 0d 09 67 65 74 | 79 3a 20 62 6f 74 72 20 | -..get|y: botr |
|00001200| 20 67 65 74 79 3a 20 74 | 6f 70 6c 20 20 2d 20 20 | gety: t|opl - |
|00001210| 3b 6d 0d 0d 3a 6d 20 53 | 45 54 53 49 5a 45 3a 09 |;m..:m S|ETSIZE:.|
|00001220| 28 20 77 20 68 20 2d 2d | 20 29 0d 09 67 65 74 54 |( w h --| )..getT|
|00001230| 6f 70 59 3a 20 73 65 6c | 66 20 20 2b 20 20 70 75 |opY: sel|f + pu|
|00001240| 74 42 6f 74 59 3a 20 73 | 65 6c 66 0d 09 67 65 74 |tBotY: s|elf..get|
|00001250| 54 6f 70 58 3a 20 73 65 | 6c 66 20 20 2b 20 20 70 |TopX: se|lf + p|
|00001260| 75 74 42 6f 74 58 3a 20 | 73 65 6c 66 20 20 3b 6d |utBotX: |self ;m|
|00001270| 0d 0d 3a 6d 20 47 45 54 | 43 45 4e 54 45 52 3a 20 |..:m GET|CENTER: |
|00001280| 20 7b 20 5c 20 78 20 79 | 20 2d 2d 20 78 20 79 20 | { \ x y| -- x y |
|00001290| 7d 0d 09 73 69 7a 65 3a | 20 73 65 6c 66 20 20 32 |}..size:| self 2|
|000012a0| 2f 20 20 2d 3e 20 79 20 | 20 32 2f 20 2d 3e 20 78 |/ -> y | 2/ -> x|
|000012b0| 0d 09 67 65 74 78 3a 20 | 74 6f 70 6c 20 20 78 20 |..getx: |topl x |
|000012c0| 2b 20 20 67 65 74 79 3a | 20 74 6f 70 6c 20 79 20 |+ gety:| topl y |
|000012d0| 2b 20 20 3b 6d 0d 09 0d | 3a 6d 20 49 4e 53 45 54 |+ ;m...|:m INSET|
|000012e0| 3a 09 5c 20 28 20 64 78 | 20 64 79 20 2d 2d 20 29 |:.\ ( dx| dy -- )|
|000012f0| 20 20 4d 61 6b 65 73 20 | 72 65 63 74 20 73 6d 61 | Makes |rect sma|
|00001300| 6c 6c 65 72 20 62 79 20 | 64 78 20 64 79 2e 0d 09 |ller by |dx dy...|
|00001310| 5e 62 61 73 65 20 20 64 | 6f 77 6e 20 20 49 6e 73 |^base d|own Ins|
|00001320| 65 74 52 65 63 74 20 20 | 3b 6d 0d 0d 3a 6d 20 53 |etRect |;m..:m S|
|00001330| 48 49 46 54 3a 20 20 7b | 20 64 78 20 64 79 20 2d |HIFT: {| dx dy -|
|00001340| 2d 20 7d 0d 09 64 78 20 | 64 79 20 6f 72 20 20 30 |- }..dx |dy or 0|
|00001350| 45 58 49 54 0d 09 64 78 | 20 64 79 20 20 73 68 69 |EXIT..dx| dy shi|
|00001360| 66 74 3a 20 74 6f 70 4c | 20 20 64 78 20 64 79 20 |ft: topL| dx dy |
|00001370| 20 73 68 69 66 74 3a 20 | 62 6f 74 52 20 20 3b 6d | shift: |botR ;m|
|00001380| 0d 0d 3a 6d 20 4f 46 46 | 53 45 54 3a 09 73 68 69 |..:m OFF|SET:.shi|
|00001390| 66 74 3a 20 73 65 6c 66 | 20 20 3b 6d 09 09 5c 20 |ft: self| ;m..\ |
|000013a0| 4f 6c 64 20 6e 61 6d 65 | 20 2d 20 66 6f 72 20 63 |Old name| - for c|
|000013b0| 6f 6d 70 61 74 69 62 69 | 6c 69 74 79 0d 0d 3a 6d |ompatibi|lity..:m|
|000013c0| 20 53 54 52 45 54 43 48 | 3a 20 20 7b 20 64 78 20 | STRETCH|: { dx |
|000013d0| 64 79 20 2d 2d 20 7d 20 | 20 64 78 20 64 79 20 20 |dy -- } | dx dy |
|000013e0| 73 68 69 66 74 3a 20 62 | 6f 74 52 20 20 3b 6d 0d |shift: b|otR ;m.|
|000013f0| 0d 3a 6d 20 2d 3e 3a 09 | 5e 62 61 73 65 20 38 20 |.:m ->:.|^base 8 |
|00001400| 20 61 6c 69 67 6e 65 64 | 5f 6d 6f 76 65 20 20 3b | aligned|_move ;|
|00001410| 6d 0d 0d 0d 3a 6d 20 44 | 52 41 57 3a 09 5e 62 61 |m...:m D|RAW:.^ba|
|00001420| 73 65 20 20 46 72 61 6d | 65 52 65 63 74 20 20 3b |se Fram|eRect ;|
|00001430| 6d 0d 3a 6d 20 44 49 53 | 50 3a 09 70 75 74 3a 20 |m.:m DIS|P:.put: |
|00001440| 73 65 6c 66 20 20 64 72 | 61 77 3a 20 73 65 6c 66 |self dr|aw: self|
|00001450| 20 20 3b 6d 0d 3a 6d 20 | 43 4c 45 41 52 3a 09 5e | ;m.:m |CLEAR:.^|
|00001460| 62 61 73 65 20 20 45 72 | 61 73 65 52 65 63 74 20 |base Er|aseRect |
|00001470| 20 3b 6d 0d 0d 3a 6d 20 | 46 49 4c 4c 3a 09 09 5c | ;m..:m |FILL:..\|
|00001480| 20 28 20 5e 70 61 74 6f | 62 6a 20 2d 2d 20 29 20 | ( ^pato|bj -- ) |
|00001490| 20 46 69 6c 6c 73 20 72 | 65 63 74 20 77 69 74 68 | Fills r|ect with|
|000014a0| 20 70 61 74 74 65 72 6e | 0d 09 2d 3e 20 74 6d 70 | pattern|..-> tmp|
|000014b0| 50 74 6e 0d 09 67 65 74 | 3a 20 74 6d 70 50 74 6e |Ptn..get|: tmpPtn|
|000014c0| 20 20 5e 62 61 73 65 20 | 20 73 77 61 70 20 20 46 | ^base | swap F|
|000014d0| 69 6c 6c 52 65 63 74 20 | 20 20 3b 6d 0d 0d 3a 6d |illRect | ;m..:m|
|000014e0| 20 44 52 4f 50 53 48 41 | 44 4f 57 3a 20 20 7b 20 | DROPSHA|DOW: { |
|000014f0| 5c 20 6c 66 20 74 6f 70 | 20 72 74 20 62 6f 74 20 |\ lf top| rt bot |
|00001500| 2d 2d 20 7d 0d 09 67 65 | 74 3a 20 74 6f 70 4c 20 |-- }..ge|t: topL |
|00001510| 20 2d 3e 20 74 6f 70 20 | 20 2d 3e 20 6c 66 0d 09 | -> top | -> lf..|
|00001520| 67 65 74 3a 20 62 6f 74 | 52 20 20 2d 3e 20 62 6f |get: bot|R -> bo|
|00001530| 74 20 20 2d 3e 20 72 74 | 0d 09 64 72 61 77 3a 20 |t -> rt|..draw: |
|00001540| 73 65 6c 66 0d 09 72 74 | 20 20 74 6f 70 20 33 2b |self..rt| top 3+|
|00001550| 20 20 6d 6f 76 65 74 6f | 0d 09 30 20 20 62 6f 74 | moveto|..0 bot|
|00001560| 20 74 6f 70 20 2d 20 33 | 2d 20 20 6c 69 6e 65 0d | top - 3|- line.|
|00001570| 09 6c 66 20 72 74 20 2d | 20 33 2b 20 20 30 20 20 |.lf rt -| 3+ 0 |
|00001580| 6c 69 6e 65 20 20 3b 6d | 0d 0d 3a 6d 20 49 4e 56 |line ;m|..:m INV|
|00001590| 45 52 54 3a 09 5e 62 61 | 73 65 20 20 49 6e 76 65 |ERT:.^ba|se Inve|
|000015a0| 72 74 52 65 63 74 20 20 | 3b 6d 0d 0d 3a 6d 20 50 |rtRect |;m..:m P|
|000015b0| 41 49 4e 54 3a 09 5e 62 | 61 73 65 20 20 50 61 69 |AINT:.^b|ase Pai|
|000015c0| 6e 74 52 65 63 74 20 20 | 3b 6d 0d 0d 3a 6d 20 43 |ntRect |;m..:m C|
|000015d0| 4c 49 50 3a 09 09 5c 20 | 43 6c 69 70 73 20 64 72 |LIP:..\ |Clips dr|
|000015e0| 61 77 69 6e 67 20 74 6f | 20 74 68 69 73 20 72 65 |awing to| this re|
|000015f0| 63 74 0d 09 5e 62 61 73 | 65 20 20 43 6c 69 70 52 |ct..^bas|e ClipR|
|00001600| 65 63 74 20 20 3b 6d 0d | 0d 3a 6d 20 55 50 44 41 |ect ;m.|.:m UPDA|
|00001610| 54 45 3a 09 5c 20 41 64 | 64 73 20 72 65 63 74 20 |TE:.\ Ad|ds rect |
|00001620| 74 6f 20 75 70 64 61 74 | 65 20 72 65 67 69 6f 6e |to updat|e region|
|00001630| 0d 09 5e 62 61 73 65 20 | 20 49 6e 76 61 6c 52 65 |..^base | InvalRe|
|00001640| 63 74 20 20 3b 6d 0d 0d | 3b 63 6c 61 73 73 0d 0d |ct ;m..|;class..|
|00001650| 66 70 52 65 63 74 20 20 | 27 20 72 65 63 74 20 20 |fpRect |' rect |
|00001660| 73 65 74 5f 63 6c 61 73 | 73 09 5c 20 66 70 52 65 |set_clas|s.\ fpRe|
|00001670| 63 74 20 69 6e 20 6e 75 | 63 20 2d 20 6d 61 6b 65 |ct in nu|c - make|
|00001680| 20 69 74 20 61 20 72 65 | 63 74 20 6f 62 6a 65 63 | it a re|ct objec|
|00001690| 74 0d 0d 09 72 65 63 74 | 09 74 65 6d 70 52 65 63 |t...rect|.tempRec|
|000016a0| 74 09 09 5c 20 41 20 74 | 65 6d 70 6f 72 61 72 79 |t..\ A t|emporary|
|000016b0| 20 72 65 63 74 61 6e 67 | 6c 65 2c 20 75 73 61 62 | rectang|le, usab|
|000016c0| 6c 65 20 62 79 20 61 6e | 79 74 68 69 6e 67 0d 0d |le by an|ything..|
|000016d0| 0d 5c 20 65 64 2d 62 6f | 79 20 39 35 31 30 31 33 |.\ ed-bo|y 951013|
|000016e0| 20 2d 20 72 65 76 69 73 | 65 64 20 47 72 61 66 70 | - revis|ed Grafp|
|000016f0| 6f 72 74 20 72 65 63 6f | 72 64 0d 0d 3a 63 6c 61 |ort reco|rd..:cla|
|00001700| 73 73 20 20 47 52 41 46 | 50 4f 52 54 20 20 73 75 |ss GRAF|PORT su|
|00001710| 70 65 72 7b 20 6f 62 6a | 65 63 74 20 7d 0d 0d 36 |per{ obj|ect }..6|
|00001720| 38 6b 5f 72 65 63 6f 72 | 64 0d 7b 09 09 69 6e 74 |8k_recor|d.{..int|
|00001730| 09 09 64 65 76 69 63 65 | 0d 09 09 68 61 6e 64 6c |..device|...handl|
|00001740| 65 09 70 6f 72 74 50 69 | 78 4d 61 70 0d 09 09 69 |e.portPi|xMap...i|
|00001750| 6e 74 09 09 70 6f 72 74 | 56 65 72 73 69 6f 6e 0d |nt..port|Version.|
|00001760| 09 09 68 61 6e 64 6c 65 | 09 67 72 61 66 56 61 72 |..handle|.grafVar|
|00001770| 73 0d 09 09 69 6e 74 09 | 09 63 68 45 78 74 72 61 |s...int.|.chExtra|
|00001780| 0d 09 09 69 6e 74 09 09 | 70 6e 4c 6f 63 48 46 72 |...int..|pnLocHFr|
|00001790| 61 63 0d 09 09 72 65 63 | 74 09 70 6f 72 74 52 65 |ac...rec|t.portRe|
|000017a0| 63 74 0d 09 34 34 09 62 | 79 74 65 73 20 20 20 67 |ct..44.b|ytes g|
|000017b0| 72 61 66 32 09 09 09 5c | 20 75 6e 6d 61 70 70 65 |raf2...\| unmappe|
|000017c0| 64 0d 09 09 76 61 72 09 | 09 54 45 58 54 31 20 20 |d...var.|.TEXT1 |
|000017d0| 20 20 20 20 20 20 20 20 | 20 5c 20 66 6f 6e 74 2c | | \ font,|
|000017e0| 66 61 63 65 2c 6d 6f 64 | 65 2c 73 69 7a 65 0d 09 |face,mod|e,size..|
|000017f0| 09 76 61 72 09 09 54 45 | 58 54 32 0d 09 33 32 09 |.var..TE|XT2..32.|
|00001800| 62 79 74 65 73 09 67 72 | 61 66 33 20 20 20 20 20 |bytes.gr|af3 |
|00001810| 20 20 20 20 20 20 5c 20 | 75 6e 6d 61 70 70 65 64 | \ |unmapped|
|00001820| 0d 7d 0d 0d 3a 6d 20 53 | 45 54 3a 20 20 20 20 20 |.}..:m S|ET: |
|00001830| 20 20 20 20 5c 20 4d 61 | 6b 65 73 20 74 68 69 73 | \ Ma|kes this|
|00001840| 20 67 72 61 66 70 6f 72 | 74 20 63 75 72 72 65 6e | grafpor|t curren|
|00001850| 74 0d 20 20 20 20 20 20 | 20 20 5e 62 61 73 65 20 |t. | ^base |
|00001860| 20 53 65 74 50 6f 72 74 | 20 20 3b 6d 0d 0d 3a 6d | SetPort| ;m..:m|
|00001870| 20 47 45 54 52 45 43 54 | 3a 20 20 20 20 20 5c 20 | GETRECT|: \ |
|00001880| 28 20 6c 20 74 20 72 20 | 62 20 2d 2d 20 29 20 20 |( l t r |b -- ) |
|00001890| 47 65 74 73 20 76 61 6c | 75 65 73 20 66 6f 72 20 |Gets val|ues for |
|000018a0| 70 6f 72 74 52 65 63 74 | 0d 20 20 20 20 20 20 20 |portRect|. |
|000018b0| 20 67 65 74 3a 20 70 6f | 72 74 52 65 63 74 20 20 | get: po|rtRect |
|000018c0| 3b 6d 0d 0d 3a 6d 20 50 | 55 54 52 45 43 54 3a 20 |;m..:m P|UTRECT: |
|000018d0| 20 20 20 20 5c 20 28 20 | 6c 20 74 20 72 20 62 20 | \ ( |l t r b |
|000018e0| 2d 2d 20 29 20 20 53 74 | 6f 72 65 73 20 76 61 6c |-- ) St|ores val|
|000018f0| 75 65 73 20 66 6f 72 20 | 70 6f 72 74 52 65 63 74 |ues for |portRect|
|00001900| 0d 20 20 20 20 20 20 20 | 20 70 75 74 3a 20 70 6f |. | put: po|
|00001910| 72 74 52 65 63 74 20 20 | 3b 6d 0d 20 20 20 20 20 |rtRect |;m. |
|00001920| 20 20 20 0d 3a 6d 20 47 | 65 74 50 6f 72 74 50 69 | .:m G|etPortPi|
|00001930| 78 4d 61 70 3a 20 70 6f | 72 74 50 69 78 4d 61 70 |xMap: po|rtPixMap|
|00001940| 20 3b 6d 0d 0d 0d 3b 63 | 6c 61 73 73 0d 0d 0d 3a | ;m...;c|lass...:|
|00001950| 20 50 55 53 48 50 4f 52 | 54 09 30 20 73 70 40 20 | PUSHPOR|T.0 sp@ |
|00001960| 20 47 65 74 50 6f 72 74 | 20 20 3b 0d 3a 20 50 4f | GetPort| ;.: PO|
|00001970| 50 50 4f 52 54 09 53 65 | 74 50 6f 72 74 20 20 3b |PPORT.Se|tPort ;|
|00001980| 0d 0d 0d 0d 5c 09 09 3d | 3d 3d 3d 3d 3d 3d 3d 3d |....\..=|========|
|00001990| 3d 3d 3d 3d 20 43 75 72 | 73 6f 72 73 20 3d 3d 3d |==== Cur|sors ===|
|000019a0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 0d 0d 3a 20 43 |========|===..: C|
|000019b0| 55 52 53 4f 52 0d 09 3c | 62 75 69 6c 64 73 09 09 |URSOR..<|builds..|
|000019c0| 77 2c 0d 09 64 6f 65 73 | 3e 09 09 77 40 20 20 47 |w,..does|>..w@ G|
|000019d0| 65 74 43 75 72 73 6f 72 | 0d 09 09 09 09 3e 70 74 |etCursor|.....>pt|
|000019e0| 72 20 20 53 65 74 43 75 | 72 73 6f 72 20 20 3b 0d |r SetCu|rsor ;.|
|000019f0| 0d 5c 20 70 72 65 64 65 | 66 69 6e 65 64 20 63 75 |.\ prede|fined cu|
|00001a00| 72 73 6f 72 73 0d 0d 31 | 20 20 63 75 72 73 6f 72 |rsors..1| cursor|
|00001a10| 09 49 42 45 41 4d 43 55 | 52 53 0d 32 20 20 63 75 |.IBEAMCU|RS.2 cu|
|00001a20| 72 73 6f 72 09 43 52 4f | 53 53 43 55 52 53 0d 33 |rsor.CRO|SSCURS.3|
|00001a30| 20 20 63 75 72 73 6f 72 | 09 50 4c 55 53 43 55 52 | cursor|.PLUSCUR|
|00001a40| 53 0d 34 20 20 63 75 72 | 73 6f 72 09 57 41 54 43 |S.4 cur|sor.WATC|
|00001a50| 48 43 55 52 53 0d 0d 3a | 20 41 52 52 4f 57 43 55 |HCURS..:| ARROWCU|
|00001a60| 52 53 09 20 49 6e 69 74 | 43 75 72 73 6f 72 20 20 |RS. Init|Cursor |
|00001a70| 3b 0d 0d 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |;.......|........|
|00001a80| 00 00 01 00 00 00 01 42 | 00 00 00 42 00 00 00 3b |.......B|...B...;|
|00001a90| 00 03 eb eb 00 03 eb ec | 00 03 eb f5 00 03 eb fd |........|........|
|00001aa0| 00 03 ec 0a 00 03 ec 0f | 00 03 ec 44 00 03 ec 45 |........|...D...E|
|00001ab0| 02 51 44 01 02 00 00 00 | 50 61 72 74 53 49 54 21 |.QD.....|PartSIT!|
|00001ac0| 00 00 00 00 00 00 00 00 | 00 01 82 56 00 00 00 00 |........|...V....|
|00001ad0| 00 00 50 61 72 74 53 49 | 54 21 00 00 00 00 00 00 |..PartSI|T!......|
|00001ae0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001af0| 00 00 b3 66 c2 7a 00 00 | 00 00 00 00 01 7d ed ae |...f.z..|.....}..|
|00001b00| 00 03 ed b0 00 03 ed d0 | 00 03 ed d1 00 03 ed d2 |........|........|
|00001b10| 00 03 ed d3 00 03 ed e8 | 00 03 ed f0 00 03 ee 36 |........|.......6|
|00001b20| 00 03 ee 68 00 03 ee 7d | 00 03 ee 84 00 03 ee a3 |...h...}|........|
|00001b30| 00 03 ee ad 00 03 ee c0 | 00 03 ee e7 00 03 ee fa |........|........|
|00001b40| 00 03 ee fb 00 03 ef 24 | 00 03 ef 25 00 03 ef 26 |.......$|...%...&|
|00001b50| 00 03 ef f9 00 03 ef fa | 00 03 ef fb 00 03 f0 5b |........|.......[|
|00001b60| 00 03 f0 9a 00 03 f0 a8 | 00 03 f0 e3 00 03 f0 f3 |........|........|
|00001b70| 00 03 f1 30 00 03 f1 54 | 00 03 f1 95 00 03 f1 d4 |...0...T|........|
|00001b80| 00 00 00 3e 00 00 17 ee | 00 00 00 00 00 00 00 00 |...>....|........|
|00001b90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001ba0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 09 ef |........|........|
|00001bb0| 00 00 09 ef 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001bc0| 00 00 00 00 01 00 00 00 | 01 42 00 00 00 42 00 00 |........|.B...B..|
|00001bd0| 00 3b 02 39 39 b8 26 ee | 00 00 00 1c 00 32 00 00 |.;.99.&.|.....2..|
|00001be0| 4d 49 46 4f 00 00 00 0a | 00 80 00 00 00 00 00 00 |MIFO....|........|
|00001bf0| 02 39 45 18 08 4d 69 73 | 63 49 6e 66 6f 00 00 00 |.9E..Mis|cInfo...|
+--------+-------------------------+-------------------------+--------+--------+